/*********************************************************************************
 *      Copyright:  (C) 2022 dairongan<2974932606@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  parse_mqttini.c
 *    Description:  This file 
 *                 
 *        Version:  1.0.0(07/29/2022)
 *         Author:  dairongan <2974932606@qq.com>
 *      ChangeLog:  1, Release initial version on "07/29/2022 10:18:34 AM"
 *                 
 ********************************************************************************/

#ifndef  _PARSE_MQTTINI_H_
#define  _PARSE_MQTTINI_H_


typedef struct mosquitto_arguments
{
	char  user[256];
	char  password[256];
	char  hostname[256];
	int   port;
	char  pub_topic[256];
	char  sub_topic[256];
	int   interval;
	char  client_id[256];
	int   keepalive;
	char  log_name[256];
	char  db_name[256];
    char  sn[256];

}s_mosquitto_data;



int parse_mqtt_ini(char *arg, s_mosquitto_data *point);



#endif
